//
//  THSlideMenuScrollView.h
//  PublicProject
//
//  Created by H.DX on 16/3/17.
//  Copyright © 2016年 H.D.X. All rights reserved.
//

#import <UIKit/UIKit.h>

@class THSlideMenuScrollView;

@protocol THSlideMenuScrollViewDelegate <NSObject>

@optional
/*
 *选中了那一条
 */
-(void)THSlideMenuScrollView:(NSInteger)index;


@end




@interface THSlideMenuScrollView : UIScrollView



//背景颜色 默认透明
@property(nonatomic,strong) UIColor  *defaultBackColor;

//文字默认字体 默认14
@property(nonatomic,strong) UIFont  *defaultTextFont;

//文字选中字体 默认14
@property(nonatomic,strong) UIFont  *selectTextFont;


//文字默认颜色 默认黑色
@property(nonatomic,strong) UIColor  *defaultTextColor;

//文字选中颜色 默认 橙色

@property(nonatomic,strong) UIColor  *selectTextColor;

//线条颜色 默认为选中颜色
@property(nonatomic,strong) UIColor  *lablineColor;

//线条高度 默认2
@property(nonatomic) NSInteger  lablineHeight;




//是否可以滑动
@property(nonatomic) BOOL  isSlide;

//下划线
@property(nonatomic,strong)RZCustomLable *labLine;

@property (nonatomic, strong) id <THSlideMenuScrollViewDelegate> thdelegate;

//大小  数据 是否导航
-(id)insetupTHSlideMenuScrollView:(CGRect)frame DrawArray:(NSArray*)array NarBar:(BOOL)isNavBar  Spacing:(CGFloat)spacing;


-(void)ShowTHSlideView;

-(void)setTHSlideMenuScrollViewSelectIndex:(NSInteger)index TapGestureRecognizer:(BOOL)isTap;


@end
